package com.egan.pet.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.egan.entity.dto.LoginFormDTO;
import com.egan.entity.po.User;
import com.egan.pet.admin.result.Result;
import jakarta.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author egan
 * @since 2024-09-09
 */
public interface IUserService extends IService<User> {

    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginFormDTO, HttpSession session);

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    User loginToPass(LoginFormDTO loginFormDTO);
}
